package com.mng.spring5new.JUnitTest;


import com.mng.beanTest1.User;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath*:/bean1.xml")
public class JUnitTest {
  @Autowired
  User user1;
  @Test
  public  void getuser1(){
    System.out.println(user1);
  }
}
